﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/AdminSite.Master" AutoEventWireup="true" CodeBehind="News.aspx.cs" Inherits="ElectronicJournal.Admin.News" %>
<%@ Register src="../Control/BlockNews.ascx" tagname="BlockNews" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <strong>Новостная лента<br />
    </strong>
    <div>
        <fieldset>
            <legend>Добавить новость</legend>
            <p>
                <asp:Label ID="Label1" runat="server" Text="Заглавие:"></asp:Label>
                </p>
            <p>
                <asp:TextBox ID="txtTitle" runat="server" CssClass="textEntry" Width="325px"></asp:TextBox>
            </p>
            <p>
                <asp:Label ID="Label2" runat="server" Text="Контент"></asp:Label>
                :</p>
            <p>
                <asp:TextBox ID="txtContent" runat="server" CssClass="textEntry" Height="214px" 
                    TextMode="MultiLine" Width="871px"></asp:TextBox>
            </p>
            
        <p>
            <asp:Button ID="btnSave" runat="server" Text="Save" Width="105px" 
                onclick="btnSave_Click" Height="27px"/>
            <asp:Button ID="btnCancel" runat="server" onclick="btnCancel_Click" 
                Text="Cancel" Width="105px" Height="27px" />
            <asp:Label ID="lblMsg" runat="server"></asp:Label>
        </p>
        </fieldset>
    </div>
    <uc1:BlockNews ID="BlockNews1" runat="server" />
    <br />
</asp:Content>
